package dao;

import java.util.ArrayList;
import pojo.User;
import utils.DBUtlis;

public class UserDao {
DBUtlis db=new DBUtlis();
public ArrayList<User>login(String username,String password){
	  String sql="select * from user where username =? and password=?";
	  Object[] param= {username,password};
	  return db.executeQuery(sql, param);
}
}
